<div class="row">
    <div class="col-sm-3 col-xs-6 change-width">
        <div class="sm-st clearfix">
            <span class="sm-st-icon st-yellow"><i class="fa fa-credit-card"></i></span>
            <div class="sm-st-info">
                <span>{if condition="empty($gain) neq true" /} {$gain.balance} {else /}0{/if}</span>
                <!-- {:__('Total order')} -->
                {:__('可用余额（元）')}
            </div>


        </div>
    </div>
    <div class="col-sm-3 col-xs-6 change-width">
        <div class="sm-st clearfix">

            <span class="sm-st-icon st-yellow"><i class="fa fa-rmb"></i></span>
            <div class="sm-st-info">
                <span>{if condition="empty($gain) neq true" /} {$gain.total} {else /}0{/if}</span>
                <!-- {:__('Total order amount')} -->
                {:__('累计收入（元）')}
            </div>
        </div>
    </div>
    <div class="col-sm-3 col-xs-6 change-width">
        <div class="sm-st clearfix">
            <span class="sm-st-icon st-yellow"><i class="fa fa-credit-card"></i></span>
            <div class="sm-st-info">
                <span>{if condition="empty($gain) neq true" /} {$gain.temp} {else /}0{/if}</span>
                <!-- {:__('Total order amount')} -->
                {:__('待结算金额（元）')}
            </div>
        </div>
    </div>
    {if condition="empty($card) neq true" /} <a data-url="/admin/trades/assets/withdrawsrelcard/cash" href="javascript:;" class="btn btn-info btn-spec_oper_btn {:$auth->check('/admin/trades/assets/withdrawsrelcard/cash')?'':'hide'}" data-title="{:__('提现')}"><i class="fa fa-pencil"></i> {:__('提现')}</a>{/if}

    <a data-url="trades/assets/card" href="javascript:;" class="btn btn-info btn-spec_oper_btn {:$auth->check('trades/assets/card')?'':'hide'}" data-title="{:__('更换银行卡')}"><i class="fa fa-pencil"></i> {:__('更换银行卡')}</a>
    <div class="col-sm-3 col-xs-6 change-width">
        <div class="sm-st clearfix">
            <div class="sm-st-info">
                                <span>{if condition="empty($card) neq true" /} 银行账户：{$card.bank_account} {else /}您还未绑定银行卡，暂时无法提现，请前往
                                    <a href='/admin/trades/assets/card?addtabs=1' style="cursor: pointer;"></a>账户设置
                                    绑定且设置默认提现卡{/if}</span>
            </div>
        </div>
    </div>
</div>